package org.jeecg.modules.data.service;

import org.apache.shiro.SecurityUtils;
import org.jeecg.common.system.vo.LoginUser;

public class CommonService {


    /**
     * 获取当前管理员的名称
     */
    public String manageName(){
        LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
        return sysUser.getUsername();
    }
}
